package com.zdlee.netty.server12.request;

import com.zdlee.netty.server12.command.Packet;
import lombok.Data;

import static com.zdlee.netty.server10.command.Command.MESSAGE_REQUEST;

/**
 * @author zdlee
 * @description: ${DESCRIPTION}
 * @create 2018-11-29 14:21
 */
@Data
public class MessageRequestPacket extends Packet {

    private String message;

    public MessageRequestPacket(String message) {
        this.message=message;
    }

    @Override
    public Byte getCommand() {
        return MESSAGE_REQUEST;
    }

}
